package com.example.vo.cate;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "产品类别请求参数")
public class ProdCateReq {

    @Schema(description = "类别ID")
    private Long id;

    /**
     * 类别名称
     */
    @Schema(description = "类别名称")
    @NotBlank(message = "类别名称不能为空")
    private String cateName;

    /**
     * 类别信息
     */
    @Schema(description = "类别信息")
    private String description;
}
